<?php $value = !isset($vo['valobj']) ? $data[$field] : $vo['valobj'][$field]; ?>
<?php $value = emptyDef($vo['value'],$value,'isset'); ?>
<?php $valarray = explode(',',$value); ?>
<select class="form-control selectpicker" multiple id="{:$field}" placeholder="请选择" {:$global_disabled?'disabled':''}>
    <?php foreach ($vo['params'] as $param_k => $param_v): ?>
        <option value="{:$param_k}" {:in_array($param_k,$valarray) || (empty($value) && $param_k == $vo['default'])?'selected':''}>{:$param_v}</option>
    <?php endforeach ?>
</select>
<input type="hidden" name="{:$field}" value="{:$value}" />